CVE-2025-0690
Grub2: read: integer overflow may lead to out-of-bounds write
Description
The read command is used to read the keyboard input from the user, while reads it keeps the input length in a 32-bit integer value which is further used to reallocate the line buffer to accept the next character. During this process, with a line big enough it's possible to make this variable to overflow leading to a out-of-bounds write in the heap based buffer. This flaw may be leveraged to corrupt grub's internal critical data and secure boot bypass is not discarded as consequence.
INFO
Published Date :
Feb. 24, 2025, 8:15 a.m.
Last Modified :
May 13, 2025, 8:15 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Update the affected software to the latest version.
 - Apply security patches provided by the vendor.
 - Recompile the software with updated libraries.
 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-0690.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-0690 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-0690
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-0690 vulnerability anywhere in the article.
		
- 
                                                            
                                                                
BleepingComputer
 
Microsoft uses AI to find flaws in GRUB2, U-Boot, Barebox bootloaders
Microsoft used its AI-powered Security Copilot to discover 20 previously unknown vulnerabilities in the GRUB2, U-Boot, and Barebox open-source bootloaders. GRUB2 (GRand Unified Bootloader) is the defa ... Read more
- 
                                                            
                                                                
Cyber Security News
 
Linux Grub Read Command Buffer Overflow Vulnerability Enabling Potential Secure Boot Bypass
A newly disclosed vulnerability in the GRUB2 bootloader’s read command (CVE-2025-0690) has raised concerns about potential Secure Boot bypasses and heap memory corruption in Linux systems. Red Hat Pro ... Read more
                The following table lists the changes that have been made to the
                CVE-2025-0690 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by [email protected]
May. 13, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:6990  - 
                            
CVE Modified by [email protected]
Mar. 05, 2025
Action Type Old Value New Value Added Reference https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html  - 
                            
New CVE Received by [email protected]
Feb. 24, 2025
Action Type Old Value New Value Added Description The read command is used to read the keyboard input from the user, while reads it keeps the input length in a 32-bit integer value which is further used to reallocate the line buffer to accept the next character. During this process, with a line big enough it's possible to make this variable to overflow leading to a out-of-bounds write in the heap based buffer. This flaw may be leveraged to corrupt grub's internal critical data and secure boot bypass is not discarded as consequence. Added CVSS V3.1 AV:P/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-787 Added Reference https://access.redhat.com/security/cve/CVE-2025-0690 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2346123